<!--<script type="text/javascript" src="<?=PATH_HTTP?>phimhd/highslide.js"></script> 
<link rel="stylesheet" type="text/css" href="<?=PATH_HTTP?>phimhd/highslide.css"> -->
<!--begin left-->
 <? include_once("templates/left.html");?>
 <!-- end left-->
 <!-- begin content-->
<div id="content">

    <div class="top">
  <div class="left"></div>
  <div class="right"></div>
  <div class="center">
    <h1> Danh mục phim</h1>
  </div>
</div>
<div class="middle" id="WzTtDiV" >
<table  cellspacing="0" border="0" width="100%"  >
<tbody>
<tr><td  align="center">
<table width="600" cellpadding="4" cellspacing="4" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; ">
 <form action="" name="frmsearch" method="post" enctype="multipart/form-data">
  <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
    <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
      <th width="20%" align="right" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">T&ecirc;n phim:</th>
      <td width="80%" align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><input type="text" id="title" name="title" value="" title="Ti&ecirc;u &#273;&#7873;" class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 400px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
    </tr>
    <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="color: rgb(65, 77, 76); font-family: Arial; font-size: 12px; ">
      <th align="right" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Danh m&#7909;c:</th>
      </span></span>
        <td align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><select id="cat_id" name="cat_id" title="Danh m&#7909;c" class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 27px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; height: 25px; line-height: 25px; background-position: 50% 0%; background-repeat: repeat no-repeat; ">
            <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="color: rgb(65, 77, 76); font-family: Arial; font-size: 12px; "><span class="Apple-converted-space">&nbsp;<span class="Apple-converted-space">&nbsp;<span class="Apple-converted-space">&nbsp; </span>
            <?=$pub->CBoxParentMovie();?>
      </select></td>
    </tr>
    <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
      <th align="right" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Th&#7875; lo&#7841;i:</th>
      <td align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><select id="sub_id" name="sub_id" title="Th&#7875; lo&#7841;i" class="ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 27px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; height: 25px; line-height: 25px; background-position: 50% 0%; background-repeat: repeat no-repeat; ">
          <span class="Apple-converted-space">&nbsp;</span> <span class="Apple-converted-space">&nbsp;</span> <span class="Apple-converted-space">&nbsp;</span>
         <?=$pub->CBoxMovie();?>
      </select></td>
    </tr>
    <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
      <th align="right" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">N&#259;m s&#7843;n xu&#7845;t:</th>
      <td align="left" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><input type="text" id="year1" name="year1" value="" title="T&#7915;" class="validate[optional,custom[onlyNumber],length[4,4]] ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 70px; background-position: 50% 0%; background-repeat: repeat no-repeat; ">
          <span class="Apple-converted-space">&nbsp;</span>&#273;&#7871;n<span class="Apple-converted-space">&nbsp;</span>
          <input type="text" id="year2" name="year2" value="" title="T&#7915;" class="validate[optional,custom[onlyNumber],length[4,4]] ui-widget-content ui-corner-all" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; vertical-align: middle; font-size: 12px; font-family: Arial; color: rgb(51, 51, 51); font: normal normal normal 1em/normal Arial, Helvetica, sans-serif; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); background-image: url(http://phimhd360.com/styles/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-left-radius: 4px 4px; border-top-right-radius: 4px 4px; border-bottom-right-radius: 4px 4px; border-bottom-left-radius: 4px 4px; width: 70px; background-position: 50% 0%; background-repeat: repeat no-repeat; "></td>
    </tr>
    <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
      <th align="left" colspan="2" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 200px; "><input name="search" type="submit" value=" Tìm kiếm "></th>      
    </tr>
	
  </tbody>
</form>  
</table>
</td></tr>
<tr><td background="<?=PATH_HTTP?>image/line_width.gif" >&nbsp;</td></tr>
<tr>
	<td>
<script type="text/javascript" src="<?=PATH_HTTP?>js/wz_tooltip.js"></script>
<script type="text/javascript" src="<?=PATH_HTTP?>js/tip_balloon.js"></script>
<script type="text/javascript" src="<?=PATH_HTTP?>js/tooltips.js"></script>
<script type="text/javascript" src="<?=PATH_HTTP?>js/load.js"></script>
	

	<?=$product_movie?>                                                                                            
       </td>
																
	</tr>
</tbody>
</table>
   


<script language="javascript" type="text/javascript">
var bClick = 0;

function ClickAA(Id)
{
	
  	document.getElementById("BG_"+Id).setAttribute("class", "css_over_p");
    document.getElementById("IMG_"+Id).style.display="block";
    document.getElementById("IMG_"+Id).setAttribute("src", "<?=PATH_HTTP?>images/deadd.png");
    document.getElementById("BG_"+Id).setAttribute("class", "css_over_pp");
	bClick = 1; 
	
  
}
function UnClickAA(Id)
{
    document.getElementById("IMG_"+Id).style.display="none";
   document.getElementById("BG_"+Id).setAttribute("class", "css_out_p");
    document.getElementById("IMG_"+Id).setAttribute("class", "css_over_pp");
   bClick = 0;
}

function CheckActive(Product_Id)
{
    var xmlHttp=GetXmlHttpObject();
        if (xmlHttp==null){
	        alert ("Browser does not support HTTP Request");
	        return;
        }
        //var att = document.getElementById("hiden_att").value;

        var url="<?=PATH_HTTP?>page.php?Type=checkavtive&vn=no000002&Product_Id="+Product_Id+"&Catch_Id="+Math.random();
       
        xmlHttp.onreadystatechange=function()
        {
	        if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
             {		   	
                if(xmlHttp.responseText=="True")
                {
                    if(CHeckPro(Product_Id)==true)
                        ClickAA(Product_Id);
                    }
                }
                    {
                        arr.push(Product_Id);
             } 	
        } 
        xmlHttp.open("GET",url,true)
        xmlHttp.send(null)  
       return;  
}
/*
function OVER_PP(Id)
{
    if(CHeckPro(Id)==true)
    {
       document.getElementById("BG_"+Id).setAttribute("class", "css_over_p");
        document.getElementById("IMG_"+Id).style.display="block";
        document.getElementById("IMG_"+Id).setAttribute("src", "<?=PATH_HTTP?>images/add.png");
        document.getElementById("IMG_"+Id).setAttribute("class", "css_over_pp");
    }
    
}
function OUT_PP(Id)
{
    if(CHeckPro(Id)==true)
    {
        document.getElementById("IMG_"+Id).style.display="none";
        document.getElementById("BG_"+Id).setAttribute("class", "css_out_p");
        document.getElementById("IMG_"+Id).setAttribute("class", "css_over_pp");
    }
    
}
*/
var arr = new Array();
function CHeckPro(Id)
{
    for(i=0;i<arr.length;i++)
    {
        if(arr[i]==Id)
            return false;
    }
    return true;
}
function RemoveArr(Id)
{
    var _arr = new Array();
    for(i=0;i<arr.length;i++)
    {
        if(arr[i]!=Id)
            _arr.push(arr[i]);
    }
    arr = _arr;
}
function AddToCart(Product_Id,Product_Price)
{   
    if(CHeckPro(Product_Id)==true)
    {
        arr.push(Product_Id);
        ClickAA(Product_Id);
    }
    else
    {
        RemoveArr(Product_Id);
        UnClickAA(Product_Id);
    }
   LoadShopCart(Product_Id,1,Product_Price);
   
    
}
function GetXmlHttpObject()
{
    var xmlHttp=null;
    try{
        // Firefox, Opera 8.0+, Safari
        xmlHttp=new XMLHttpRequest();
    }
    catch (e){
        //Internet Explorer
        try{
	        xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
        }
        catch (e){
	        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
    }
    return xmlHttp;
}
function LoadShopCart(Product_Id,quantity,Product_Price)
{
        
        var xmlHttp=GetXmlHttpObject();
        if (xmlHttp==null){
	        alert ("Browser does not support HTTP Request");
	        return;
        }
        //var att = document.getElementById("hiden_att").value;

        var url="<?=PATH_HTTP?>page.php?Type=addcart&vn=no000002&Product_Id="+Product_Id+"&Product_Price="+Product_Price+"&Quantity="+quantity+"&Catch_Id="+Math.random();
       
        xmlHttp.onreadystatechange=function()
        {
	        if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
             {		   	
                GetProcess(Product_Id,Product_Price);
             } 	
        } 
        xmlHttp.open("GET",url,true)
        xmlHttp.send(null)  
       return;        
    
}

function Get_Future_Id(Product_Id,Product_Name)
{
        
        var xmlHttp=GetXmlHttpObject();
        if (xmlHttp==null){
	        alert ("Browser does not support HTTP Request");
	        return;
        }
        //var att = document.getElementById("hiden_att").value;

        var url="<?=PATH_HTTP?>page.php?Type=getfutureid_by_product_id&Product_Id="+Product_Id+"&Catch_Id="+Math.random();
       
        xmlHttp.onreadystatechange=function()
        {
	        if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	         {		   	
	                var Future_Id = xmlHttp.responseText;
	                if(Future_Id=="-2")
	                {
	                    window.location.replace("/VN/Thong-tin-san-pham/"+Product_Id+"/"+Product_Name+"/");
	                }
	                else
	                    if(Future_Id=="")
	                    {
	                        alert("Đã có lỗi xảy ra, vui lòng thử lại. Xin cám ơn.");
	                        return false;
	                    }
	                    else
	                        Get_NPrice(xmlHttp.responseText,Product_Id);
	                
	         } 	
        } 
        xmlHttp.open("GET",url,true)
        xmlHttp.send(null)  
       return;        
    
}
function Get_NPrice(Future_Id,Product_Id)
{
        
        var xmlHttp=GetXmlHttpObject();
        if (xmlHttp==null){
	        alert ("Browser does not support HTTP Request");
	        return;
        }
        //var att = document.getElementById("hiden_att").value;

        var url="<?=PATH_HTTP?>page.php?Type=getprice_by_fid&Future_Id="+Future_Id+"&Catch_Id="+Math.random();
       
        xmlHttp.onreadystatechange=function()
        {
	        if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	         {		   	
	                LoadShopCart(Future_Id,Product_Id,xmlHttp.responseText,1);
	         } 	
        } 
        xmlHttp.open("GET",url,true)
        xmlHttp.send(null)  
       return;        
    
}
    function SubChange()
    {
        var IdSort = document.getElementById("ctl00_ContentPlaceHolder1_drop_sort").value;
        
            window.location.replace("/VN/Danh-sach-san-pham/1/108.154.108/Phim-Khoa-Hoc/1/"+IdSort+"/-1/");
    }
    function SubShow()
    {
        var IdSort = document.getElementById("ctl00_ContentPlaceHolder1_drop_show").value;
        window.location.replace("/VN/Danh-sach-san-pham/1/108.154.108/Phim-Khoa-Hoc/1/az/"+IdSort+"/");
            
    }
   

</script>
<div id="TT_Process"></div>
<script language="javascript" type="text/javascript">
    
    GetProcess(Product_Id,quantity);
    function GetXmlHttpObjectMaster()
    {
        var xmlHttp=null;
        try{
            // Firefox, Opera 8.0+, Safari
            xmlHttp=new XMLHttpRequest();
        }
        catch (e){
            //Internet Explorer
            try{
	            xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
            }
            catch (e){
	            xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
            }
        }
        return xmlHttp;
    }
    function GetProcess(Product_Id,quantity)
    {
            
            var xmlHttp=GetXmlHttpObjectMaster();
            if (xmlHttp==null){
	            alert ("Browser does not support HTTP Request");
	            return;
            }
           

            var url="<?=PATH_HTTP?>page.php?Type=getprocess&Catch_Id="+Product_Id+"&mv_hdd="+quantity;
           
            xmlHttp.onreadystatechange=function()
            {
	            if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
                 {		   	
                    document.getElementById("TT_Process").innerHTML = xmlHttp.responseText;
                 } 	
            } 
            xmlHttp.open("GET",url,true)
            xmlHttp.send(null)  
           return;        
        
    }
</script>
</div>

<div class="bottom">
  <div class="left"></div>
  <div class="right"></div>
  <div class="center"></div>
</div>

 
    

<!--end content-->
    
 